package com.zm.zmgz.dao;

import com.zm.zmgz.pojo.SalarySettlementBean;
import com.zm.zmgz.pojo.SalarySettlementBeanExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SalarySettlementBeanMapper {
    int countByExample(SalarySettlementBeanExample example);

    int deleteByExample(SalarySettlementBeanExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SalarySettlementBean record);

    int insertSelective(SalarySettlementBean record);

    List<SalarySettlementBean> selectByExample(SalarySettlementBeanExample example);

    SalarySettlementBean selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SalarySettlementBean record, @Param("example") SalarySettlementBeanExample example);

    int updateByExample(@Param("record") SalarySettlementBean record, @Param("example") SalarySettlementBeanExample example);

    int updateByPrimaryKeySelective(SalarySettlementBean record);

    int updateByPrimaryKey(SalarySettlementBean record);

    int addBatch(SalarySettlementBean salarySettlementBean); // 返回的是新增的行数并新增记录的主键值
}